//
// Created by Gorun on 2022/5/1.
//

#ifndef LOXPP_TOKEN_H
#define LOXPP_TOKEN_H

#include "TokenType.h"
#include "../Type/Types.h"
#include <string>

class Token {
public:
    Token(TokenType type, const std::string& lexeme, const Object* literal,
          int line, int column);
    ~Token();
    std::string toString();
private:
    TokenType type;
    std::string lexeme;
    const Object* literal;
    int line;
    int column;
};


#endif //LOXPP_TOKEN_H
